package org.tarena.dang.service;

import java.sql.SQLException;
import java.util.List;


import org.tarena.dang.entity.Categrory;

public interface CategoryService {
	public List<Categrory> findAll() throws SQLException;

	public List<Categrory> findByParentId(int parentId)throws SQLException;

	public String findByParetIdClass(int parentId)throws SQLException;

	public List<Categrory> searchByKeyWords(String keyWords)throws SQLException;

	
}
